package top.kaoshanji.p1ch02c;

/**
 * @author kaoshanji
 * ^_^
 * create time 2025/4/22 15:34
 */
public class CDPlayer implements MediaPlayer {

    private CompactDisc cd;

    public CDPlayer(CompactDisc cd) {
        this.cd = cd;
    }

    public void play() {
        cd.play();
    }

}
